package com.xilihui.xlh.business.activitys.store;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;

import com.xilihui.xlh.R;
import com.xilihui.xlh.business.entities.AddOrderEntity;
import com.xilihui.xlh.core.app.BaseCompatActivity;

import butterknife.OnClick;

/**
 * Created by Administrator on 2018/9/4.
 */

public class TradingCenterActivity extends BaseCompatActivity{
    
    Intent intent;
    
    @Override
    public int getLayout() {
        return R.layout.activity_trading_center;
    }

    @Override
    public String initTitle() {
        return "交易中心";
    }

    @Override
    public void initUI(@Nullable Bundle savedInstanceState) {
        
    }

    @Override
    public void initData() {

    }
    
    @OnClick(R.id.rl_order)
    public void order(){
         intent = new Intent(TradingCenterActivity.this,StoreOrderActivity.class);
         startActivity(intent);
    }
    
    @OnClick(R.id.rl_collet)
    public void collet(){
        intent = new Intent(TradingCenterActivity.this,NearbyStoresActivity.class);
        startActivity(intent);
    }
    
    @OnClick(R.id.rl_address)
    public void address(){
        intent = new Intent(TradingCenterActivity.this, AddressActivity.class);
        startActivity(intent);
    }
    
    @OnClick(R.id.rl_evaluation)
    public void evaluation(){
        intent = new Intent(TradingCenterActivity.this,WePostEvaluationActivity.class);
        startActivity(intent);
    }
    
    @OnClick(R.id.rl_service)
    public void service(){
        
    }
    
}
